home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload Trio 2
/
Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO
/
dir36
/
nfty50.zip
/
README.1ST
< prev
next >
Wrap
Text File
|
1993-02-15
|
16KB
|
471 lines
Nifty50 Introduction
Over the past few years we have developed literally hundreds of little DOS
utilities for use on our own development computers. Some of the utilities
included in this package are duplicated by other companies, but most are not.
The ones that are, are for the most part, easier to use than other similar
utilities.
Many of our users of other software have asked for utilities such as the
ones included here. To put together the "Nifty50" package, we took the 50
most useful and popular (under 10k) utilities we have developed, updated all
the code, and put them all together in one package.
All 50 utilities are "TEST DRIVE" versions. When the program is run, the
copyright message includes a beep and message indicating that you are using
a TEST DRIVE version. Registered users will receive a version with NO beep,
and NO copyright message of any type. Other than the beep and copyright
there are no differences in the "Test Drive" versions and registered versions.
BBS operators and ShareWare Disk vendors are free to distribute this test drive
version as long as all 50 programs and this README.1ST file are distributed
together and umnodified, and no fee in excess of $5.00 is charged.
Most of the included utilities are best used in batch files, and most set the
DOS ErrorLevel to help you build conditional batch programs that are really
useful.
The following program reference assumes the reader has a reasonable working
knowledge of DOS batch files and DOS commands. Please refer to your DOS
reference manual for a complete discussion of batch files and ErrorLevels.
PROGRAM REFERENCE
ASK.COM
Syntax: ASK q
Options: q = a question phrase
Description: Returns ErrorLevel 0 if yes, 1 if no.
Note: Adds a (Y/n) to the end of the phrase. The user must press a
Y or N to continue. If the ENTER key is pressed, a Y is assumed.
Example: ASK Do you want to continue?
AUTOBOOT.COM
Syntax: AUTOBOOT time
Options: Time must be specified as 00:00 or 00:00:00
and must be in military (24 hr) format
Description: Automatically reboots computer at specified time.
Example: AUTOBOOT 00:01:00 will reboot the computer at 12:01 am.
CHIME.COM
Syntax: CHIME
Options: /n number of times to chime (Defaults to 1)
/c chime until user presses a key
Description: Plays a chime sound.
DIRGE.COM
Syntax: DIRGE
Options: None
Description: Plays "Funeral Dirge".
DISKLEFT.COM
Syntax: DISKLEFT d
Options: d = drive letter (defaults to C:)
Description: Sets ErrorLevel to remaining free disk space in MB.
Example: If you have a 200 MB hard disk, and 20 MB free space remaining,
the ErrorLevel in this case will be set to 20.
Note: The maximum the ErrorLevel can be set to is 255. Drives that
have over 255 MB free space remaining will not cause the
ErrorLevel to be set properly.
DISKPC.COM
Syntax: DISKPC d
Options: d = drive letter (defaults to C:)
Description: Sets ErrorLevel to remaining free disk space in as a percentage
Example: If you have a 200 MB hard disk, and 20 MB free space remaining,
your free disk space is 10%. The ErrorLevel in this case will
be set to 10.
FAKEBADC.COM
Syntax: FAKEBADC
Options: None
Description: Simulates a hard disk error and locks computer.
FORMFEED.COM
Syntax: FORMFEED n
Options: n = parallel port number (defaults to 1)
Description: Issues a form feed to the specified printer.
ISANSI.COM
Syntax: ISANSI
Options: None
Description: Sets ErrorLevel to 0 if ANSI.SYS is installed, 1 if not.
ISASSIGN.COM
Syntax: ISASSIGN
Options: None
Description: Sets ErrorLevel to 0 if ASSIGN is installed, 1 if not.
ISCDROM.COM
Syntax: ISCDROM
Options: None
Description: Sets ErrorLevel to 0 if CD Rom is installed, 1 if not.
Note: This program checks for a CD Rom driver only.
ISCLOCK.COM
Syntax: ISCLOCK
Options: None
Description: Sets ErrorLevel to 0 if real time clock is installed, 1 if the
clock date is set to 01-01-1980, 2 if clock not present.
Note: If the battery in an AT class computer causes the system to
loose its date setting, the date will almost always come up
as 01-01-1980.
ISCOLOR.COM
Syntax: ISCOLOR
Options: None
Description: Sets ErrorLevel to 0 if color video card is installed, 1 if
not installed.
Note: Some monochrome systems are CGA compatible and will return
an ErrorLevel of 0 even though the monitor displays mono.
ISDESQ.COM
Syntax: ISDESQ
Options: None
Description: Sets ErrorLevel to 0 if Desq View is running, 1 if Desq View
is not running.
ISEMS.COM
Syntax: ISEMS
Options: None
Description: Sets ErrorLevel to 0 if EMS driver is installed, 1 if not
installed.
ISFILE.COM
Syntax: ISFILE filespec
Options: filespec is any valid DOS filename or drive letter
Description: Sets ErrorLevel to 0 if the file exists or the specified drive
is ready to write to. If the file does not exist, or the drive
that was specified is not ready, the program sets an ErrorLevel
of 1.
Note: This is a useful function to use from batch files if you want
to run a program from a floppy disk like a virus detection
program. You can use ISFILE to check that a disk is in the
specified drive and that the desired file is on the disk before
proceeding. (i.e. ISFILE b:viruschk.exe)
ISMATH.COM
Syntax: ISMATH
Options: None
Description: Sets ErrorLevel to 0 if math chip is installed, 1 if not
installed.
ISMOUSE.COM
Syntax: ISMOUSE
Options: None
Description: Sets ErrorLevel to 0 if mouse driver is installed, 1 if not
installed.
Note: This program does not check for the physical presence of a
mouse, only the driver (i.e. MOUSE.COM ).
ISNETBIO.COM
Syntax: ISNETBIO
Options: None
Description: Sets ErrorLevel to 0 if NETBIOS driver is installed, 1 if no
NETBIOS compatible driver is loaded.
ISNEWDSK.COM
Syntax: ISNEWDSK d
Options: d = drive letter ( A or B )
Description: Sets ErrorLevel to 0 if specified floppy disk has been changed
since last access, 1 if it has not been changed.
Note: An empty disk drive will return an ErrorLevel of 1 since a
new disk has not been inserted yet.
ISPRINT.COM
Syntax: ISPRINT n
Options: n = parallel port number
Description: Sets ErrorLevel to 0 if printer is on line and ready, 1 if not.
ISPRINTX.COM
Syntax: ISPRINTX
Options: None
Description: Sets ErrorLevel to 0 if PRINT.EXE is installed, 1 if not.
ISSHARE.COM
Syntax: ISSHARE
Options: None
Description: Sets ErrorLevel to 0 if SHARE.EXE is installed, 1 if not.
ISTEXT.COM
Syntax: ISTEXT c
Options: c = any string of text to find
Description: Scans current screen contents for text specified when run.
Sets ErrorLevel to 0 if found, 1 if not. Not case sensitive.
Example: ISTEXT error
If the text "error" is found anywhere on the screen, the
ErrorLevel will be set to 0. NOT case sensitive.
ISWKDAY.COM
Syntax: ISWKDAY
Options: None
Description: Sets ErrorLevel to 0 if system date indicates the current day
is Mon-Fri. It will set the ErrorLevel to 1 if not.
ISWKHRS.COM
Syntax: ISWKHRS
Options: None
Description: Sets ErrorLevel to 0 if system date indicates the current day
is Mon-Fri, AND the system time is between 8am and 5pm. It
will set the ErrorLevel to 1 if not.
ISXMS.COM
Syntax: ISXMS
Options: None
Description: Sets ErrorLevel to 0 if an extended memory driver is installed,
1 if not.
LOCKUP.COM
Syntax: LOCKUP
Options: None
Description: Locks up computer forcing re-boot.
NOBREAK.COM
Syntax: NOBREAK
Options: /u (unloads program)
Description: TSR disables Ctrl-C and Ctrl-Break
PRTSCRN.COM
Syntax: PRTSCRN n
Options: n = parallel port number (defaults to 1)
Description: Prints current screen and form feed to specified printer. Also
date and time stamps printout and specifies network node if
installed on a network.
QFLOPS.COM
Syntax: QFLOPS
Options: None
Description: Sets ErrorLevel to number of floppy drives installed.
QPPORTS.COM
Syntax: QPPORTS
Options: None
Description: Sets ErrorLevel to number of parallel ports installed.
QSPORTS.COM
Syntax: QSPORTS
Options: None
Description: Sets ErrorLevel to number of serial ports installed.
REBOOT.COM
Syntax: REBOOT
Options: None
Description: Reboots computer
RING.COM
Syntax: RING n
Options: n = number of times to ring (defaults to 1)
/c ring until user presses a key
Description: Plays a ringing sound.
SAVSCRN.COM
Syntax: SAVSCRN filespec
Options: filespec = any valid DOS file name and path
Description: Captures the current text screen to the specified file. If the
file already exists, it will append to the end of the file. It
date and time stamps the capture and specifies network node if
installed on a network.
SIREN.COM
Syntax: SIREN n
Options: n = number of times to loop (defaults to 1)
/c = loops until user presses a key
Description: Plays a siren type sound.
WAIT.COM
Syntax: WAIT n
Options: n = seconds to wait
Description: Waits a specified number of seconds.
WEEKOFMO.COM
Syntax: WEEKOFMO
Options: None
Description: Sets ErrorLevel to current week of the month.
Note: This function returns the actual week of the month, NOT the
Nth 7 day period. The actual week is calculated on a 7 day
basis from Sunday morning to Saturday night. For example,
if the 1st falls on a Wednesday, then Wednesday through Saturday
is counted as week 1. In this case, week 1 is actually only
4 days long. Week 2 begins with Sunday and is in 7 day cycles
after that.
WEEKOFYR.COM
Syntax: WEEKOFYR
Options: None
Description: Sets ErrorLevel to current week of the year.
Note: This function returns the actual week of the year, NOT the
Nth 7 day period. The actual week is calculated on a 7 day
basis from Sunday morning to Saturday night. For example,
if Jan 1 falls on a Wednesday, then Wednesday through Saturday
is counted as week 1. In this case, week 1 is actually only
4 days long. Week 2 begins with Sunday and is in 7 day cycles
after that.
WHATCPU.COM
Syntax: WHATCPU
Options: None
Description: Sets ErrorLevel to 1 for 8086-8088, 2 for 80286, 3 for 80386,
4 for 80486.
WHATDATE.COM
Syntax: WHATDATE
Options: None
Description: Sets ErrorLevel to the current calendar date. (date of the mo)
Example: If the system date is May 19, then ErrorLevel is set to 19.
WHATDAY.COM
Syntax: WHATDAY
Options: None
Description: Sets ErrorLevel to the current day of the week. 1 for Sunday
2 for Monday, 3 for Tuesday, and so on.
WHATDOS.COM
Syntax: WHATDOS
Options: None
Description: Sets ErrorLevel to the DOS major version number.
Example: If the your DOS version is 3.3 then ErrorLevel is set to 3.
If the your DOS version is 4.01 then ErrorLevel is set to 4.
WHATEMS.COM
Syntax: WHATEMS
Options: None
Description: Sets ErrorLevel to the EMS driver major version number, 4 for
4.00 etc.
WHATFLOP.COM
Syntax: WHATFLOP d
Options: d = drive letter
Description: Sets ErrorLevel to correspond to the type of floppy disk drive
installed in the specified drive.
0 = not installed
1 = 5¼ inch 360 KB
2 = 5¼ inch 1.2 MB
3 = 3½ inch 720 KB
4 = 3½ inch 1.44 MB
5 or greater = unknown drive type
WHATHOUR.COM
Syntax: WHATHOUR
Options: None
Description: Sets ErrorLevel to the current hour in 24 hour format.
Example: If the time is 1:00pm the ErrorLevel is set to 13.
WHATKB.COM
Syntax: WHATKB
Options: None
Description: Sets ErrorLevel to 0 for US keyboard, 1 to foreign.
WHATMO.COM
Syntax: WHATMO
Options: None
Description: Sets ErrorLevel to the current month number. (1-12)
Example: If the current month is May the ErrorLevel is set to 5.
WHATVID.COM
Syntax: WHATVID
Options: None
Description: Sets ErrorLevel video type setup as follows:
1 = Monochrome adapter
2 = Hercules adapter
3 = CGA adapter
4 = EGA adapter with monochrome monitor
5 = EGA adapter with color monitor
6 = VGA adapter with monochrome monitor
7 = VGA adapter with color monitor
8 = MCGA adapter with monochrome monitor
9 = MCGA adapter with color monitor
10 = EGA adapter with color CGA monitor
11 = IBM 8514/A adapter
Nifty50 Order Form
______ Nifty50 single user license ..................... $ 40.00 $ ______
______ Nifty50 network server license .................. $ 200.00 $ ______
______ Nifty50 site license ( per 50 users ) ........... $ 350.00 $ ______
California orders please add Sales Tax .................... 7.75% $ ______
ALL ORDERS SHIPPED 2nd DAY AIR... Shipping & Handling $ 4.00
Total $ ______
Approved purchase orders accepted.
ORDER LINE: 1-800-388-2761
Name / Contact: _____________________________________________________
Company: ____________________________________________________________
Address: ____________________________________________________________
: ____________________________________________________________
: ____________________________________________________________
Phone: ______________________________ FAX: ________________________
Please complete and mail with payment to:
Solid Oak Software
P.O. Box 6826
Santa Barbara, CA 93160
805-568-5414 FAX 805-568-5419